AmpProject\AmpWP\Admin\SiteHealth C

Total Complexity 121
Dependencies 9
Dependents 1
Total lines 1,303
Lines of code 906
Logical lines of code 285
Comment lines 264
Methods 32
Properties 2

Methods 32

Method Rating Maintainability Complexity Lines of code
page_cache()
B
35 13 91
check_for_page_caching()
A
40 14 56
get_page_cache_detail()
A
45 12 39
persistent_object_cache()
A
39 7 73
supports_async_rest_tests()
S
52 7 26
icu_version()
S
46 6 41
add_tests()
S
45 5 43
curl_multi_functions()
S
40 3 73
slug_definition_timing()
S
49 5 33
css_transient_caching()
S
45 4 47
add_debug_information()
S
40 2 73
publisher_logo()
S
47 4 35
xdebug_extension()
S
51 4 27
get_persistent_object_cache_availability()
S
54 4 23
modify_test_result()
S
62 4 11
get_supported_templates()
S
56 3 20
add_styles()
S
56 1 48
get_page_cache_headers()
S
49 2 33
is_intl_extension_needed()
S
60 3 14
add_extensions()
S
54 2 25
get_css_transient_caching_disabled()
S
68 3 7
get_serve_all_templates()
S
70 3 6
register_async_test_endpoints()
S
60 1 15
get_css_transient_caching_sampling_range()
S
69 1 7
get_css_transient_caching_threshold()
S
69 1 7
cache_hit_callback()
S
78 1 3
register()
S
64 1 9
get_badge_label()
S
79 1 3
get_persistent_object_cache_learn_more_action()
S
68 1 8
__construct()
S
77 1 4
get_good_response_time_threshold()
S
79 1 3
get_registration_action()
S
81 1 3